package cn.ncupyh;

public class Example16 {
    public static void main(String[] args) {
    int[] arr = new int[5];
        for (int i = 0; i < arr.length; i++) {
            try {
                System.out.println(i + " ");
            } catch (Exception e) {
                System.out.println("异常为:" + e.getMessage());
            }
            System.out.println("over");
        }
    }
}
